#pragma once

#include <SDL2/SDL.h>
#include <GL/glew.h>
#include "World.hh"
#include "Box.hh"
#include "slInput.hh"
#include "slCamera.hh"

class Screen
{
public:
  Screen(int width, int height);
  ~Screen();
  void								mainLoop();

private:
  int								_width;
  int								_height;
  bool							_loop;
  SDL_Event					_event;
  SDL_Window				*window;
  SDL_GLContext 		glContext;
  int								framerate;
  slInput           input;

  void								_drawBackground();
};